Fixed GtkFileChooserDefault to handle cases of being in an embedded dialog.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 26 Dec 2010 10:13:19 +0000 (19:13 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 6 Jan 2011 05:39:40 +0000 (14:39 +0900)
commit53980aca9b021f57fd626cb5dbf393140c45eb6d
tree5c41cdcc2980806114d476b5b0b2ae6a5f4a1710
parent93c8058582aa8e6823bcf83b654da29f816a1547
Fixed GtkFileChooserDefault to handle cases of being in an embedded dialog.

This involves checking the toplevelness of new toplevels before connecting
but not the *old* ones for disconnecting signals. Also take care of handling
a row_reference that becomes invalid over the course of reparenting the
filechooser into another parent.
gtk/gtkfilechooserdefault.c